package com.lk.ii.domain;

import com.lk.common.annotation.Excel;
import com.lk.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 广告位详情对象 ii_ad_material
 *
 * @author lk
 * @date 2021-02-05
 */
public class IiAdMaterial extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 广告位ID
     */
    @Excel(name = "广告位ID")
    private Long adId;

    /**
     * 广告素材ID
     */
    @Excel(name = "广告素材ID")
    private Long materialId;

    /**
     * 广告素材名称
     */
    @Excel(name = "广告素材名称")
    private String materialName;

    /**
     * 广告素材路径
     */
    @Excel(name = "广告素材路径")
    private String materialUrl;

    /**
     * 链接
     */
    @Excel(name = "链接")
    private String link;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sort;

    /**
     * 点击数
     */
    @Excel(name = "点击数")
    private Long hit;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer status;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setAdId(Long adId) {
        this.adId = adId;
    }

    public Long getAdId() {
        return adId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getmaterialName() {
        return materialName;
    }

    public void setMaterialUrl(String materialUrl) {
        this.materialUrl = materialUrl;
    }

    public String getMaterialUrl() {
        return materialUrl;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getLink() {
        return link;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return sort;
    }

    public void setHit(Long hit) {
        this.hit = hit;
    }

    public Long getHit() {
        return hit;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("adId", getAdId())
                .append("materialId", getMaterialId())
                .append("materialName", getmaterialName())
                .append("materialUrl", getMaterialUrl())
                .append("link", getLink())
                .append("sort", getSort())
                .append("hit", getHit())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
